home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’91 / AliasThis! / AliasThisƒ / src / SampleFileIO.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-10-03  |  669 b   |  25 lines  |  [TEXT/MPS ]

  1. #ifndef __SAMPLEFILEIO__
  2. #define __SAMPLEFILEIO__
  3.  
  4. #ifndef __FILES__
  5. #include <Files.h>
  6. #endif
  7.  
  8. #ifndef __STANDARDFILE__
  9. #include <StandardFile.h>
  10. #endif
  11.  
  12. #ifndef __APPLEEVENTS__
  13. #include <AppleEvents.h>
  14. #endif
  15.  
  16. extern void        ConvertOldToNewSFReply(SFReply *oldReply, StandardFileReply *newReply);
  17. extern OSErr    WriteWindowData(short refNum);
  18. extern OSErr    ReadWindowData(short refNum);
  19. extern OSErr    Create_OpenFile(FSSpec *file, short *refNum);
  20. extern Boolean    DisplayPutFile(StandardFileReply *reply);
  21. extern Boolean    SaveFile(WindowPtr window);
  22. extern Boolean    DisplayGetFile(StandardFileReply *reply);
  23. extern OSErr    OpenFile(FSSpecPtr fileToOpen);
  24.  
  25. #endif __SAMPLEFILEIO__